package com.ych.dao;

import com.ych.beans.PipeModel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PipeModelDao {
    boolean addPipeModel(PipeModel pipe);

    boolean updatePipeModel(PipeModel pipe);

    List<PipeModel> selectPipeModel(String key, Integer id);

    boolean deletePipeModel(Integer id);
}
